# 没有append的list
class hashaki(list):
    def __getattribute__(self,name):
        if name=='append':
            raise AttributeError(name,"hashaki")
        return list.__getattribute__(self,name)

a=hashaki()
a.append(1)